import request from '@/utils/request'

// 查询单表多时段数据列表
export function oneterminalsanalysis(query) {
  return request({
    url: '/datastatistics/terminalDbStatisticAnalysis/oneTerminal/?location_nb=' + query.location_nb+'&readDates='+query.readDates,
    method: 'get',
    // params: query
  })
}
// 查询多表同时段数据列表
export function multiterminalsanalysis(query) {
    return request({
      url: '/datastatistics/terminalDbStatisticAnalysis/multiTerminal/?location_nb=' + query.location_nb+'&readDates='+query.readDates,
      method: 'get',
    //   params: query
    })
  }